package com.yanqu.road.entity.activity.douluodalu.log;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.player.UserBaseInfo;

/**
 * 魂师门客对决公告
 */
@FieldTypeAnnotation(tableName = "t_c_douluodalu_battle_notice")
public class DouLuoDaLuBattleNoticeData extends DataObject {

    @FieldTypeAnnotation(select = true, update = true, desc = "活动ID")
    private int activityId;
    @FieldTypeAnnotation(desc = "组ID")
    private int groupId;
    @FieldTypeAnnotation(desc = "玩家ID")
    private long userId;

    @FieldTypeAnnotation(desc = "玩家详情")
    private UserBaseInfo userBaseInfo;

    @FieldTypeAnnotation(desc = "门客ID")
    private int patronsId;

    @FieldTypeAnnotation(desc = "战斗类型：1：派遣；2：追捕；3：挑战")
    private int battleType;

    @FieldTypeAnnotation(desc = "被击败的门客数")
    private int patronsNum;

    @FieldTypeAnnotation(desc = "是否全歼")
    private boolean allKill;

    @FieldTypeAnnotation(desc = "被击败的玩家详情")
    private UserBaseInfo enemyBaseInfo;

    @FieldTypeAnnotation(desc = "被打败的时间")
    private long logTime;

    public DouLuoDaLuBattleNoticeData() {
    }

    public DouLuoDaLuBattleNoticeData(int activityId, int groupId, long userId) {
        this.activityId = activityId;
        this.groupId = groupId;
        this.userId = userId;
        setInsertOption();
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public UserBaseInfo getUserBaseInfo() {
        return userBaseInfo;
    }

    public void setUserBaseInfo(UserBaseInfo userBaseInfo) {
        this.userBaseInfo = userBaseInfo;
    }

    public int getPatronsId() {
        return patronsId;
    }

    public void setPatronsId(int patronsId) {
        this.patronsId = patronsId;
    }

    public int getBattleType() {
        return battleType;
    }

    public void setBattleType(int battleType) {
        this.battleType = battleType;
    }

    public int getPatronsNum() {
        return patronsNum;
    }

    public void setPatronsNum(int patronsNum) {
        this.patronsNum = patronsNum;
    }

    public boolean isAllKill() {
        return allKill;
    }

    public void setAllKill(boolean allKill) {
        this.allKill = allKill;
    }

    public UserBaseInfo getEnemyBaseInfo() {
        return enemyBaseInfo;
    }

    public void setEnemyBaseInfo(UserBaseInfo enemyBaseInfo) {
        this.enemyBaseInfo = enemyBaseInfo;
    }

    public long getLogTime() {
        return logTime;
    }

    public void setLogTime(long logTime) {
        this.logTime = logTime;
    }
}
